//
//  LoanAction.m
//  JinFuThree
//
//  Created by 爱尚 on 2018/8/29.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import "LoanAction.h"
#import "LoanViewController.h"
#import "Loan_ApplyViewController.h"

@implementation LoanAction

- (UIViewController *)mainViewController{
    LoanViewController *loanVC = [[LoanViewController alloc]init];
    return loanVC;
}

-(nonnull UIViewController*)loanDetailViewController:(nonnull NSDictionary<NSString*, id> *)parameters{
    
    NSString *loanId = parameters[@"loanId"];
    
    Loan_ApplyViewController *controller = [[Loan_ApplyViewController alloc]init];
    controller.loanId = loanId;
    return controller;
    
}
@end
